package com.wanandroidsdk.app;

import android.app.Application;

/**
 * @author: njb
 * @date: 2021/2/24 18:02
 * @desc:
 */
public class App extends Application {

    private static Application mInstance;

    @Override
    public void onCreate() {
        super.onCreate();
        mInstance = this;
    }

    public static void setApp(Application app){
        mInstance =  app;
    }

    public static Application getInstance() {
        return  mInstance;
    }
}
